getPositionUnit (Deprecated) |
This method returns the unit details of a position ID.
Note: The use of this method is deprecated; use getUnitPositions instead. |
SOAP Request
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP:Body> <getPositionUnit xmlns="http://schemas.cordys.com/orgmodel/runtime/OrgModel/1.0"> <WorkspaceID>002481F0-8E9F-11E2-EE36-A5EED1105F38</WorkspaceID> <positionId>001CC438-906D-11E2-EE38-EEEA14BF7636</positionId> </getPositionUnit> </SOAP:Body> </SOAP:Envelope>
Request Parameters
Parameter |
Description |
Mandatory |
Accepted Input Value |
---|---|---|---|
WorkspaceID | Unique and valid ID of the Collaborative Workspace (CWS) | No | GUID or null |
positionId |
Document ID of the position. The position ID is retrieved using getUnitPositions or getRolePosition . |
Yes |
GUID |
SOAP Response
<getPositionUnitResponse xmlns="http://schemas.cordys.com/orgmodel/runtime/OrgModel/1.0"> <getPositionUnit> <Unit> <Id>001CC438-906D-11E2-EE38-EEEA14C33636</Id> <Name>college</Name> <Description>college Description</Description> <QName>organizational unit/college</QName> <Space>organization</Space> </Unit> </getPositionUnit> </getPositionUnitResponse>
Response Parameters
Parameter |
Description |
---|---|
Unit |
String that contains XML with details of the unit |
Id |
ID of the GUID unit |
Name |
Name of the unit |
Description |
Description of the unit |
QName |
Fully Qualified Name (FQN) of the unit |
Space |
Deployment space in which unit is deployed. It can be 'organization' or 'isv'. |